﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WJ.DataSender.Service.Models.ConfigModel
{
    public class AppsettingConfigModel: IConfigModel
    {
        

        /// <summary>
        /// 上报的url地址
        /// </summary>
        public List<PlatformInfo> Platforms { get; set; }
        /// <summary>
        /// 消息上报周期（精确到毫秒）
        /// </summary>
        public int SendPeriod { get; set; }

        /// <summary>
        /// 请求超时时间（以秒为单位）
        /// </summary>
        public int TimeOut { get; set; }

        /// <summary>
        /// ping的超时时间（毫秒为单位）
        /// </summary>
        public int PingTimeOut { get; set; }
        /// <summary>
        /// 是否停止上报消息
        /// </summary>
        public bool StopSend { get; set; }

    }
}
